package phi.engine.draw
{
	import flash.display.Shape;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.geom.Point;
	import flash.geom.Rectangle;
	
	import mx.core.mx_internal;
	
	public class RectangleSprite extends DrawableSprite
	{		
		public function RectangleSprite( )
		{
			super();
		}

		override public function draw():void
		{
			graphics.clear();
			
			graphics.beginFill( color, 0.5 );
			graphics.drawRect(0, 0, size.x, size.y);
			graphics.endFill();
		}
				
	}
}